const path = require('path')
const apiMock = require('./apiMock/apiMock')


module.exports = {
  lintOnSave: false,
  pluginOptions: {
    'style-resources-loader': {
      patterns: [path.resolve(__dirname, 'src/public/styles/mixin.scss'), path.resolve(__dirname, 'src/public/styles/variables.scss')],
      preProcessor: 'scss'
    }
  },
  devServer: {
    before: apiMock(path.join(__dirname, 'apiMock/'))
  }
}
